<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* Author: Jorge Torres
 * Description: Home controller class
 * This is only viewable to those members that are logged in
 */
 class Home extends My_Controller{
 	
 	var $data;
 	
    function __construct(){
    	
        parent::__construct("home");
    }
    public function index(){    	
    	$this->data = array();
		// Parser data       
        $this->template->parse_view('main_content' , 'template/home.html' , $this->data);
        $this->template->parse_view('info_content' , 'template/info_content_create.html' , $this->data);			
        // Render template
        $this->template->render();
    }
     
	/* 
    private function check_isvalidated(){
        if(! $this->session->userdata('level')){
            redirect('');
        }
    }
    */
 }
 ?>